<%--
  Created by IntelliJ IDEA.
  User: fengyuan
  Date: 2020/11/20
  Time: 13:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>listttttt</title>
</head>
<body>
    <h4>列举所有用户</h4>

    <s:if test="#request.Users == null || #request.size()==0">
        没有任何用户信息
    </s:if>
    <s:else>
        <table border="1" cellpadding="0" cellspacing="0">
            <tr>
                <td>id</td>
                <td>username</td>
                <td>password</td>
            </tr>
            <s:iterator value="#request.Users">
                <tr>
                    <td>${id}</td>
                    <td>${username}</td>
                    <td>${password}</td>
                </tr>
            </s:iterator>
        </table>
    </s:else>
</body>
</html>
